//
//  AusleseCell.h
//  jiyujiaProgram
//
//  Created by NiKi on 15/10/29.
//  Copyright © 2015年 中良 赵. All rights reserved.
//

#import <UIKit/UIKit.h>

@class AusleseCell;

@protocol AusleseCellDelegate <NSObject>

@optional

- (void)ausleseCell:(AusleseCell *)cell playClick:(UIButton *)play;

- (void)ausleseCell:(AusleseCell *)cell listenClick:(UIButton *)listen;

@end


@interface AusleseCell : UICollectionViewCell


@property (nonatomic, unsafe_unretained) id <AusleseCellDelegate> delegate;
@property (strong, nonatomic) IBOutlet UIButton *listenButton;
@property (strong, nonatomic) IBOutlet UIButton *playButton;
@property (weak, nonatomic) IBOutlet UIImageView *iconImage;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;

- (void)setCellWithModel:(NSArray *)model WithIndexPath:(NSIndexPath *)index;

- (IBAction)playClick:(id)sender;
- (IBAction)listenClick:(id)sender;

@end
